<form class="form-horizontal" action="{{ path('fos_user_registration_register') }}" {{ form_enctype(form) }} method="POST" style="margin:0;">
  <div class="modal-header">
    <h3>Inscription</h3>
  </div>
  <div class="modal-body">
  	{{ form_errors(form) }}
  	<h6 style="margin-bottom:8px;">Informations sur le compte</h6>
	{{ form_row(form.email, {'label': 'Adresse Email', 'attr': {'placeholder': 'monadresse@email.com'}}) }}
	{{ form_row(form.username, {'label': 'Identifiant'}) }}
	{{ form_row(form.plainPassword.first, {'label': 'Mot de passe'}) }}
	{{ form_row(form.plainPassword.second, {'label': 'Confirmation'}) }}
	<h6 style="margin-bottom:8px;">Informations sur l'utilisateur</h6>
	{{ form_row(form.participant.person.civility, {'label': 'Civilité'}) }}
	{{ form_row(form.participant.person.name, {'label': 'Nom'}) }}
	{{ form_row(form.participant.person.firstname, {'label': 'Prénom'}) }}
	{{ form_rest(form) }}
  </div>
  <div class="modal-footer">
    <input class="btn btn-primary" type="submit" name="_submit" value="Créer mon compte">
  </div>
  <script type="text/javascript">
	$(document).ready(function(){
		$('div input[type=radio]:first').attr("checked",true);
	});	
  </script>
</form>	